const mongoose = require("mongoose")
mongoose.connect("mongodb+srv://1839972624:12345678.@cluster0.k2zxt.mongodb.net/ThirdWeek")
    .then(() => {
        console.log('connect success');

    })
    .catch(() => {
        console.log("connect error");

    })

module.exports = mongoose